//% color="#DAA520" iconWidth=50 iconHeight=40
namespace DFRobot_VEML7700_1{
    //% block="LCD1602RGB init " blockType="command" 
    
    export function DFRobot_VEML7700_1Init(parameter: any, block: any) {
        Generator.addInclude("DFRobot_VEML7700_1Init", "#include <Wire.h>");
        Generator.addInclude("DFRobot_VEML7700_1Init1", "#include <DFRobot_VEML7700_1.h>");

        Generator.addObject(`DFRobot_VEML7700_1Init`,  "DFRobot_VEML7700_1","veml7700;");
        
       
        Generator.addSetup(`DFRobot_VEML7700_1Init`, "veml7700.begin();");

    }
    
     
    //% block="DFRobot_VEML7700_1Read" blockType="reporter" 
    
    export function DFRobot_VEML7700_1Read(parameter: any, block: any) {
        
        Generator.addCode("veml7700.getALSLux()");
        

    }
}
